<template>
  <div>
    <!-- <h1>主页</h1> -->
    <!-- <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o">标签</van-tabbar-item>
      <van-tabbar-item icon="search">标签</van-tabbar-item>
      <van-tabbar-item icon="friends-o">标签</van-tabbar-item>
      <van-tabbar-item icon="setting-o">标签</van-tabbar-item>
    </van-tabbar> -->
    <!-- <van-icon name="scan" /> -->
    <!-- <van-icon name="edit" /> -->

    <router-view></router-view>
    <van-tabbar route v-model="active">
      <van-tabbar-item replace to="/home" icon="edit">编辑</van-tabbar-item>
      <van-tabbar-item replace to="/home/list" icon="home-o">列表</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'Home',
  data() {
    return {
      active: 1,
      text: "输入文本文字",
    }
  },
  methods: {}
}
</script>

<style>
</style>
